<span>
  <ng-container *ngIf="refObject == null">
    No reference set
  </ng-container>
  <ng-container *ngIf="refObject != null">
    <i class="{{refObject?.type_information?.icon}}"></i> {{refObject?.type_information?.type_label}}
    #{{refObject?.object_information?.object_id}}
    <span *ngFor="let sum of refObject?.summaries; let last = last; let first = first">
      <ng-template [ngIf]="sum.type != 'date'" [ngIfElse]="templateDate">
        <span *ngIf="first"> - </span>{{sum.value}}
      </ng-template>
      <ng-template #templateDate>
        <span *ngIf="first"> - </span>{{sum.value | date:"dd/MM/yyyy - HH:mm:ss"}}
      </ng-template>
      <span *ngIf="!last"> | </span>
    </span>
  </ng-container>
</span>
